using System;
using UnityEngine;
    /// <summary>
    /// AnimatorControllParameter属性
    /// </summary>
    [AttributeUsage(AttributeTargets.Field, Inherited = true, AllowMultiple = false)]
    public class ESF_AnimatorControllParameterAttribute : PropertyAttribute
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string name { get; private set; }
        /// <summary>
        /// 枚举
        /// </summary>
        public enESF_AnimatorControllerParameter enParameter { get; private set; }
        /// <summary>
        /// 参数类型
        /// </summary>
        public AnimatorControllerParameterType type { get; private set; }
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="_name">名称</param>
        /// <param name="_type">类型</param>
        /// <param name="_enParameter">枚举</param>
        public ESF_AnimatorControllParameterAttribute(string _name, AnimatorControllerParameterType _type, enESF_AnimatorControllerParameter _enParameter)
        {
            name = _name;
            type = _type;
            enParameter = _enParameter;
        }
    }